;(function() {
		window.close_loading();
	   	$("#form-submit").click(function(){
	   		
	   			
	   			$.post(
	   				"/admin/admin/info",
	   				$("#validate-form").serialize(),
	   				function(data){
			      		if(data.flag){
			      			toastr['success']("操作成功！", ''); 
			      		}else{
			      		 	toastr['error'](data.msg,"操作失败！"); 
			      		}
	   				}
	   			);
	   			return false;
	   	})
})();